home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-03-24 | 3.8 KB | 150 lines | [TEXT/MPS ] |
- #
- # SCSI Simple Sample
- # Copyright © 1993-94, Apple Computer Inc.
- # All rights reserved.
- #
- # Note: this requires the Macintosh on Risc Toolkit. It builds
- # a "fat" binary that runs native on both PowerMacintosh and on
- # the Motorolo 680x0 processors.
- #
- # NOTE: as of this writing, the Power Mac headers do not support
- # the _SCSIAtomic trap. The PPCC part of the build will therefore
- # fail. The program does, however, run on Power Mac in emulation.
- #
- #
- Src = ":Src:"
- Obj = ":Obj:"
- M68Objects = ∂
- {Obj}DoGetDriveInfo.c.mo ∂
- {Obj}DoListSCSIDevices.c.mo ∂
- {Obj}DoReadBlockZero.c.mo ∂
- {Obj}DoTestUnitReady.c.mo ∂
- {Obj}SCSISimpleSampleDisplay.c.mo ∂
- {Obj}SCSISimpleSampleMain.c.mo ∂
- {Obj}AsyncSCSI.c.mo ∂
- {Obj}AsyncSCSIPresent.c.mo ∂
- {Obj}DoSCSICommandWithSense.c.mo ∂
- {Obj}OriginalSCSI.c.mo ∂
- {Obj}SCSICheckForDevicePresent.c.mo ∂
- {Obj}SCSIGetCommandLength.c.mo ∂
- {Obj}SCSIGetHighHostBusAdaptor.c.mo ∂
- {Obj}SCSIGetInitiatorID.c.mo ∂
- {Obj}LogManager.c.mo ∂
- {Obj}StringFormat.c.mo ∂
- {Obj}WindowUtilities.c.mo
-
- PPCObjects = ∂
- {Obj}DoGetDriveInfo.c.po ∂
- {Obj}DoListSCSIDevices.c.po ∂
- {Obj}DoReadBlockZero.c.po ∂
- {Obj}DoTestUnitReady.c.po ∂
- {Obj}SCSISimpleSampleDisplay.c.po ∂
- {Obj}SCSISimpleSampleMain.c.po ∂
- {Obj}AsyncSCSI.c.po ∂
- {Obj}AsyncSCSIPresent.c.po ∂
- {Obj}DoSCSICommandWithSense.c.po ∂
- {Obj}OriginalSCSI.c.po ∂
- {Obj}SCSICheckForDevicePresent.c.po ∂
- {Obj}SCSIGetCommandLength.c.po ∂
- {Obj}SCSIGetHighHostBusAdaptor.c.po ∂
- {Obj}SCSIGetInitiatorID.c.po ∂
- {Obj}LogManager.c.po ∂
- {Obj}StringFormat.c.po ∂
- {Obj}WindowUtilities.c.po
-
-
- #
- # Directory dependencies. "Everything in the {Obj} directory depends on something
- # in the {Src} directory." Note: you can throw away the contents of the {Obj}
- # directory if you want to rebuild from scratch.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler dependencies -- common to all compilations The idea here is that all
- # sources are stored in the {Src} subdirectory, and all objects and code resources
- # output by the linker or Rez are stored in the {Obj} subdirectory.
- #
- .c.mo ƒ .c ∂
- {Src}SCSI.h ∂
- {Src}LogManager.h ∂
- {Src}MacSCSICommand.h ∂
- {Src}SCSISimpleSample.h
- C {COptions} ∂
- -o {TargDir}{Default}.c.mo ∂
- {DepDir}{Default}.c
-
- .c.po ƒ .c ∂
- {Src}SCSI.h ∂
- {Src}LogManager.h ∂
- {Src}MacSCSICommand.h ∂
- {Src}SCSISimpleSample.h
- PPCC -sym on -appleext on -w off -d MPW ∂
- -o {TargDir}{Default}.c.po ∂
- {DepDir}{Default}.c
-
- #
- # Build the application.
- #
- "SCSI Simple Sample MPW" ƒƒ ∂
- MakeFile ∂
- {Src}SCSISimpleSample.r
- Rez ∂
- {Src}SCSISimpleSample.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-
- "SCSI Simple Sample MPW" ƒƒ ∂
- MakeFile ∂
- {M68Objects}
- Link ∂
- -t APPL ∂
- {M68Objects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o {targ}
-
- "SCSI Simple Sample Fat" ƒƒ ∂
- MakeFile ∂
- {Src}SCSISimpleSample.r
- Rez ∂
- {Src}SCSISimpleSample.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-
- "SCSI Simple Sample Fat" ƒƒ ∂
- MakeFile ∂
- {M68Objects}
- Link ∂
- -t APPL ∂
- {M68Objects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o {targ}
-
- "SCSI Simple Sample Fat" ƒƒ ∂
- "{Obj}SCSISimpleSample.xcoff"
- MakePEF ∂
- {deps} ∂
- -l InterfaceLib.xcoff=InterfaceLib ∂
- -l StdCLib.xcoff=StdCLib ∂
- -o {targ} ∂
- -ft APPL -fc '????'
-
- "{Obj}SCSISimpleSample.xcoff" ƒ ∂
- MakeFile ∂
- {PPCObjects}
- PPCLink ∂
- {PPCObjects} ∂
- "{PPCLibraries}"StdCLib.xcoff ∂
- "{PPCLibraries}"InterfaceLib.xcoff ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- -main main ∂
- -o {targ}
-